package com.farmer.mapper;

import com.farmer.pojo.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 86183
* @description 针对表【admin(管理员)】的数据库操作Mapper
* @createDate 2024-04-18 09:30:26
* @Entity com.farmer.domain.Adminpojo
*/
@Mapper
public interface AdminMapper extends BaseMapper<Admin> {

    void deleteRoleIds(@Param("roleId") Integer roleId);

    void insertRoleUsers(@Param("roleId") Integer roleId, @Param("userIds") List<Integer> userIds);

}




